package org.jeecg.modules.wlhy.gas.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wlhy.gas.entity.HyShippingNoteGas;


/**
 * @Description: hy_shipping_note_gas
 * @Author: jeecg-boot
 * @Date:   2021-08-14
 * @Version: V1.0
 */
public interface HyShippingNoteGasMapper extends BaseMapper<HyShippingNoteGas> {

    HyShippingNoteGas getByIdForUpdate(@Param("id")String id);

    HyShippingNoteGas getByShippingIdForUpdate(@Param("shippingId")String shippingId);

    IPage<HyShippingNoteGas> getPageList(  Page<HyShippingNoteGas> page,
                                           @Param(Constants.WRAPPER) QueryWrapper<HyShippingNoteGas> queryWrapper
    );
}
